Set Variable(s) to Field Statistics (Fields on a Form)

IN THIS PAGE

Overview

The Set Variable(s) to Field Statistics (Fields on a Form) action retrieves statistical information (such as the count, minimum, maximum, average, and variance) about a form's field or expression.

Procedure

  1. Make a selection in the Set variable(s) to statistics for a field in which window? field. This field will be grayed out unless this action is based on a Form or Browse. The choices are:

    • "Current Form or Browse Window".

    • "Another Form or Browse Window".

  2. If you selected "Another Form or Browse Window", in the Window Name field select either:

    • "Forms"

    • "Browses"

  3. Select one of the listed forms or browses.

  4. Select the 'down' icon button to select a field in the Object Name list.

  5. Enter the name you would like to use for the variable in the Variable Name field.

  6. Select the variable's scope from the Scope list. There are two options:

    • "Shared" - means that the variable can be used only by other scripts on the window

    • "Global" - means that all scripts can access the variable

  7. Click Next >.

  8. Optionally modify the comment that describes the action.

  9. Click Finish.

See Also